package com.atguigu.daijia.customer.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @description: 承接配置文件中的属性
 * @name: WxConfigProperties
 * @author: wgp
 * @date: 2024/8/9 8:52
 */
@Data
@Component
@ConfigurationProperties(prefix = "wx.miniapp")
public class WxConfigProperties {

    /**
     * appId
     */
    private String appId;
    /**
     * secret 密钥
     */
    private String secret;
}
